﻿using System;

namespace JCode.Model
{
    public class CategoryInfo
    {
        public CategoryInfo()
        { }
        #region Model
        private int _categoryid;
        private string _categoryname;
        private int? _layer;
        private int? _parentid;
        private string _description;
        private int? _displayorder;
        private DateTime? _datecreated;
        private bool _enabled;
        /// <summary>
        /// 分类ID
        /// </summary>
        public int CategoryID
        {
            set { _categoryid = value; }
            get { return _categoryid; }
        }
        /// <summary>
        /// 分类名
        /// </summary>
        public string CategoryName
        {
            set { _categoryname = value; }
            get { return _categoryname; }
        }
        /// <summary>
        /// 层
        /// </summary>
        public int? Layer
        {
            set { _layer = value; }
            get { return _layer; }
        }
        /// <summary>
        /// 父ID
        /// </summary>
        public int? ParentID
        {
            set { _parentid = value; }
            get { return _parentid; }
        }
        /// <summary>
        /// 描述
        /// </summary>
        public string Description
        {
            set { _description = value; }
            get { return _description; }
        }
        /// <summary>
        /// 排序
        /// </summary>
        public int? DisplayOrder
        {
            set { _displayorder = value; }
            get { return _displayorder; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? DateCreated
        {
            set { _datecreated = value; }
            get { return _datecreated; }
        }
        /// <summary>
        /// 启用
        /// </summary>
        public bool Enabled
        {
            set { _enabled = value; }
            get { return _enabled; }
        }
        #endregion Model

    }
}
